package top.infopub.mgr.cap.service.impl;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.infopub.mgr.cap.dao.FinancingMakeLoansDao;
import top.infopub.mgr.cap.service.FinancingMakeLoansService;
import top.infopub.model.cap.FinancingMakeLoans;

/**
 * @Author Warking
 * @Date 2021/5/24 13:48
 * @Version 1.0  融资还款
 */
@Service
public class FinancingMakeLoansServiceImpl implements FinancingMakeLoansService{
     @Autowired
     private FinancingMakeLoansDao financingMakeLoansDaO;

    /*融资还款列表接口*/
    @Override
    public Page<FinancingMakeLoans> selectPage(Page<FinancingMakeLoans> page, FinancingMakeLoans financingMakeLoans) {
        PageHelper.startPage(page.getPageNum(),page.getPageSize());
        return financingMakeLoansDaO.selectPage(financingMakeLoans);
    }

}
